﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Items;
using SingleUserMall.Items.VO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Stores.VO
{
    [AutoMapFrom(typeof(Store))]
    public class StoreViewVO : EntityDto
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Picture { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Discription { get; set; }
        /// <summary>
        /// 商城商品
        /// </summary>
        public ListResultDto<ItemVO> Items { get; set; }
        /// <summary>
        /// 好评率
        /// </summary>
        public string CommentRate { get; set; }
        /// <summary>
        /// 是否收藏
        /// </summary>
        public bool IsFavorite { get; set; }
        /// <summary>
        /// 商铺星级
        /// </summary>
        public int StoreStar { get; set; }
        /// <summary>
        /// 客服电话
        /// </summary>
        public string CustomerServicePhone { get; set; }
    }
}
